
import request from "@/core/request";


export default function imgRobber(imgUrl: string) {
  // const imageRootDomain = imgUrl.replace(/^(http(?:|s):\/\/)(?:[^/]+\.|)([^/]+\.[^/]+)\/.+$/, '$1$2')
  console.info("img",imgUrl)
  return request.defaults.baseURL+'img/getIcon/' + btoa(imgUrl)
}